//
//  PostedTypeTools.h
//  Village
//
//  Created by 程虎 on 2017/9/19.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PostedType.h"

@interface PostedTools : NSObject
/**
 发布类型
 */
+ (void)GetPostedtypeSuccess:(void (^)(NSArray *valueAry))success failure:(void (^)(NSString *error))failure;

/**
 发布文章
 */
+ (void)GetPostedNewsWithTitle:(NSString *)titles WithContents:(NSString *)contents WithAddress:(NSString *)addressStr WithType:(NSString *)types Photo:(id )imgs Success:(void (^)(NSArray *valueAry))success failure:(void (^)(NSString *error))failure;

/**
 上传图片
 */
+ (void)UploadImgsWithIMGArys:(NSArray *)arrays Success:(void (^)(NSArray *valueAry))success failure:(void (^)(NSString *error))failure;
@end
